package org.easymis.entitys.mybatis.dto;
import java.io.Serializable;
import java.util.Date;

import org.easymis.commons.generator.annotation.GenField;
import org.easymis.commons.generator.annotation.GenModel;
import org.easymis.commons.generator.annotation.GenTable; 
 
  
  
 @GenTable(name="scm_purchase_order") 
@GenModel(packageName="org.easymis.entitys.mybatis",modelName="ScmPurchaseOrder")  
 public class ScmPurchaseOrder implements Serializable{  
      @GenField(labelname="采购单号",column="purchase_order_id",id=true,length=20,isnull=false) 
      private String purchaseOrderId; 
      @GenField(labelname="组织编码",column="org_id",length=45,isnull=false) 
      private String orgId; 
      @GenField(labelname="",column="bill_no",length=255,isnull=true) 
      private String billNo; 
      @GenField(labelname="供应商",column="supplier_id",length=20,isnull=true) 
      private String supplierId; 
      @GenField(labelname="主题",column="subject",length=45,isnull=true) 
      private String subject; 
      @GenField(labelname="采购时间",column="bill_date",isnull=true) 
      private Date billDate; 
      @GenField(labelname="制单人|创建人编号",column="creator_id",length=45,isnull=false) 
      private String creatorId; 
      @GenField(labelname="制单人",column="create_time",isnull=false) 
      private Date createTime; 
      @GenField(labelname="入库状态1入库",column="status",isnull=false) 
      private Integer status; 
      @GenField(labelname="描述|备注",column="depict",length=45,isnull=true) 
      private String depict; 
      @GenField(labelname="数量",column="total_quantity",isnull=true) 
      private Integer totalQuantity; 
      @GenField(labelname="",column="total_amount",isnull=false) 
      private Float totalAmount; 
      @GenField(labelname="付款优惠",column="deduction_amount",isnull=true) 
      private Float deductionAmount; 
      @GenField(labelname="额外费用",column="extra_amount",isnull=true) 
      private Float extraAmount; 
      @GenField(labelname="优惠后金额/最终应付【amount=total_quantity-deduction_amount+extra_amount】",column="amount",isnull=true) 
      private Float amount; 
      @GenField(labelname="1未付款",column="pay_status",isnull=true) 
      private Integer payStatus; 
      @GenField(labelname="打印次数",column="print_Status",isnull=true) 
      private Integer printStatus; 
      public String getPurchaseOrderId(){ 
      	   return purchaseOrderId;
      }
      public void setPurchaseOrderId(String purchaseOrderId){ 
      	   this.purchaseOrderId=purchaseOrderId; 
      } 
      public String getOrgId(){ 
      	   return orgId;
      }
      public void setOrgId(String orgId){ 
      	   this.orgId=orgId; 
      } 
      public String getBillNo(){ 
      	   return billNo;
      }
      public void setBillNo(String billNo){ 
      	   this.billNo=billNo; 
      } 
      public String getSupplierId(){ 
      	   return supplierId;
      }
      public void setSupplierId(String supplierId){ 
      	   this.supplierId=supplierId; 
      } 
      public String getSubject(){ 
      	   return subject;
      }
      public void setSubject(String subject){ 
      	   this.subject=subject; 
      } 
      public Date getBillDate(){ 
      	   return billDate;
      }
      public void setBillDate(Date billDate){ 
      	   this.billDate=billDate; 
      } 
      public String getCreatorId(){ 
      	   return creatorId;
      }
      public void setCreatorId(String creatorId){ 
      	   this.creatorId=creatorId; 
      } 
      public Date getCreateTime(){ 
      	   return createTime;
      }
      public void setCreateTime(Date createTime){ 
      	   this.createTime=createTime; 
      } 
      public Integer getStatus(){ 
      	   return status;
      }
      public void setStatus(Integer status){ 
      	   this.status=status; 
      } 
      public String getDepict(){ 
      	   return depict;
      }
      public void setDepict(String depict){ 
      	   this.depict=depict; 
      } 
      public Integer getTotalQuantity(){ 
      	   return totalQuantity;
      }
      public void setTotalQuantity(Integer totalQuantity){ 
      	   this.totalQuantity=totalQuantity; 
      } 
      public Float getTotalAmount(){ 
      	   return totalAmount;
      }
      public void setTotalAmount(Float totalAmount){ 
      	   this.totalAmount=totalAmount; 
      } 
      public Float getDeductionAmount(){ 
      	   return deductionAmount;
      }
      public void setDeductionAmount(Float deductionAmount){ 
      	   this.deductionAmount=deductionAmount; 
      } 
      public Float getExtraAmount(){ 
      	   return extraAmount;
      }
      public void setExtraAmount(Float extraAmount){ 
      	   this.extraAmount=extraAmount; 
      } 
      public Float getAmount(){ 
      	   return amount;
      }
      public void setAmount(Float amount){ 
      	   this.amount=amount; 
      } 
      public Integer getPayStatus(){ 
      	   return payStatus;
      }
      public void setPayStatus(Integer payStatus){ 
      	   this.payStatus=payStatus; 
      } 
      public Integer getPrintStatus(){ 
      	   return printStatus;
      }
      public void setPrintStatus(Integer printStatus){ 
      	   this.printStatus=printStatus; 
      } 
}   